package com.tedu.day05_mybatis.mapper;

import com.tedu.day05_mybatis.pojo.Weibo;
import com.tedu.day05_mybatis.pojo.WeiboVO1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IWeiboMapper {

    public int insertWeibo(Weibo weibo);

    public int deleteById(Integer id);

    public int updateById(Weibo weibo);

    public WeiboVO1 selectWeibo(Integer id);

    public List<Weibo> findAll();

    public int dynamicUpdate(Weibo weibo);

    public int deleteByIds(int[] ids);
}
